<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@ taglib prefix="shiro" uri="http://shiro.apache.org/tags" %>
<html>
<head>
    <meta charset="utf-8">
    <meta name="viewport"
          content="maximum-scale=1.0,minimum-scale=1.0,user-scalable=0,width=device-width,initial-scale=1.0"/>
    <meta name="format-detection" content="telephone=no,email=no,date=no,address=no">
    <title>用户举报成功</title>
    <link rel="stylesheet" type="text/css" href="${contextPath}/resources/city/css/public-style.css"/>
    <link rel="stylesheet" type="text/css" href="${contextPath}/resources/city/css/cancel.css"/>
    <style>
        .bg-blue {
            float: left;
            width: 40%;
            margin-left: 6.7%;
        }
    </style>
</head>
<body>
<!-- 内容 -->
<div id="main">
    <!-- 头部 -->
    <header>
        <img src="${contextPath}/resources/city/image/return.png" id="fanHui"/>
        <span id="tilte">举报成功</span>
    </header>

    <div class="content" id="caseComplete">
        <img src="${contextPath}/resources/city/image/xiao.png" class="xiao"/>

        <p>感谢您的举报，您已经成功举报，我们将在稍后 </p>

        <p>对此案件进行处理，您还可以进行以下操作：</p>
    </div>

    <div class="bg-blue" id="see">
        查看案件
    </div>
    <div class="bg-blue" id="again">
        我的举报
    </div>
    <c:if test="${not empty sessionScope.employee.inspector}">

        <shiro:hasPermission name="CMC_REPORT:*">
            <div class="bg-blue" id="report">
                上报案件
            </div>
        </shiro:hasPermission>
        <shiro:hasPermission name="CMC_FINISH:*">
            <div class="bg-blue" id="finish">
                完成案件
            </div>
        </shiro:hasPermission>
    </c:if>
</div>
</body>
<script src="${contextPath}/resources/city/js/remJs.js"></script>
<script src="${contextPath}/resources/city/js/jquery-1.8.0.min.js"></script>
<script>
    $(document).ready(function () {
        $('#see').click(function () {
            self.location.href = "info.htm?uuid=${uuid}";
        });

        $('#again').click(function () {
            self.location.href = "/front/cmc/case/list.htm";
        });

        $('#report').click(function () {
            self.location.href = "report?uuid=${uuid}";
        });

        $('#finish').click(function () {
            self.location.href = "finish?uuid=${uuid}";
        });
        $('#fanHui').click(function () {
            self.location.href = "javascript:window.history.go(-1);";
        });
    });
</script>
</html>